Platform Explorer / Nuxeo Platform 2021.50

Component org.nuxeo.ecm.platform.threed.convert.commandline

Requirements

Resolution Order

307
The resolution order represents the order in which this component has been resolved by the Nuxeo Runtime framework.
You can influence this order by adding "require" tags in your component declaration, to make sure it is resolved after another component.

Contributions

XML Source

<?xml version="1.0"?>
<component name="org.nuxeo.ecm.platform.threed.convert.commandline">

  <require>org.nuxeo.ecm.platform.commandline.executor.service.defaultContrib</require>

  <extension target="org.nuxeo.ecm.platform.commandline.executor.service.CommandLineExecutorComponent"
             point="command">

    <command name="blender_pipeline" enabled="true">
      <commandLine>docker</commandLine>
      <testParameterString>pull nuxeo/blender</testParameterString>
      <parameterString>run --name #{name} --volumes-from #{data} nuxeo/blender
        -P /scripts/#{scriptFile} -- --input /in/#{inFile} --outdir /out --operators #{operators}
        --renderids #{renderIds} -li #{lodIds} -pp #{percPoly} -mp #{maxPoly} -d #{dimensions} -c #{coords}
      </parameterString>
      <installationDirective>Please, install docker (https://www.docker.com/)
      </installationDirective>
    </command>
    <command name="collada2gltlf" enabled="true">
      <commandLine>docker</commandLine>
      <testParameterString>pull nuxeo/collada2gltf</testParameterString>
      <parameterString>run --name #{name} --volumes-from #{data} nuxeo/collada2gltf
        -f /in/#{inFile} -o /out/#{outFile} -e</parameterString>
      <installationDirective>Please, install docker (https://www.docker.com/)
      </installationDirective>
    </command>
    <command name="create_container" enabled="true">
      <commandLine>docker</commandLine>
      <testParameterString>version</testParameterString>
      <parameterString>create --name #{name} #{image} </parameterString>
      <installationDirective>Please, install docker (https://www.docker.com/)
      </installationDirective>
    </command>
    <command name="remove_container" enabled="true">
      <commandLine>docker</commandLine>
      <testParameterString>version</testParameterString>
      <parameterString>rm #{name} </parameterString>
      <installationDirective>Please, install docker (https://www.docker.com/)
      </installationDirective>
    </command>
    <command name="copy_container" enabled="true">
      <commandLine>docker</commandLine>
      <testParameterString>version</testParameterString>
      <parameterString>cp #{source} #{destination}</parameterString>
      <installationDirective>Please, install docker (https://www.docker.com/)
      </installationDirective>
    </command>
    <command name="useruid" enabled="true">
      <commandLine>id</commandLine>
      <testParameterString>-u</testParameterString>
      <parameterString>-u #{username}</parameterString>
      <installationDirective>Please, install id command</installationDirective>
    </command>
  </extension>

</component>